#!/bin/bash

[ -d /backnote ] || mkdir /backnote

lftp_ip=192.168.0.189
lftp_user=cali
lftp_pwd=123123

lftp -u ${lftp_user},${lftp_pwd} ${lftp_ip} <<EOF
cd note
mkdir califeng
cd califeng
lcd /lianxi/
put hello.sh
cd 
lcd /backnote
get shell_note.sh
quit
EOF
